
:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;

  color: #0f0f0f;
  background-color: #f6f6f6;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* -webkit-text-size-adjust: 100%; */
}

#logintext{
  text-shadow: 3px 1px 2px rgb(13, 93, 254);
  text-decoration:line-through;
  color: rgb(255, 136, 24);
}

.container {
  margin: 0 auto;
  padding-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 70%;
}

#loginform, 
#register-form{
  display: flex;
  flex-direction: column;
  max-width: 400px;
  /* align-items: center; */
  gap: 10px;
}

input {
  width: 100%;
  margin-bottom: 10px; /* 添加底部间距 */
  box-sizing: border-box; /* 确保宽度包含内边距和边框 */
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  width: 100%;
}

input, button{
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  color: #0f0f0f;
  background-color: #ffffff;
  transition: border-color 0.25s;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  outline:#24c8db;
  height: fit-content;
}

button {
  cursor: pointer;
  max-width: fit-content;
  max-height: fit-content;
}

button:hover {
  border-color: #396cd8;
}
button:active {
  border-color: #396cd8;
  background-color: #e8e8e8;
}
.error {
  color: #e74c3c;
}

.infobar{
  display: flex;
  flex-direction: column;
}

#login-loadingbar{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 30px;
}

#success, 
.infobar #error,
#login-loading {
  height: fit-content;
  display: flex;
  flex-direction: row;
  text-decoration-style: wavy;
  text-decoration-line: underline;
  justify-content: center;
  font-size: large;
  color: black;
  text-decoration-line: underline;
  text-shadow: 2px 1px 2px purple;
  font-style: oblique;
}

#LogIn-button{
  background-color: #f78c09;
  color: whitesmoke;
  font-size: large;
  text-shadow: 2px 1px 2px black;
  text-decoration-line: underline;
  max-width: fit-content;
}
#Register-button:disabled,
#LogIn-button:disabled{
  cursor: not-allowed;
  opacity: 0.7;
}

#Register-button{
  background-color: #a7fa18;
  color: whitesmoke;
  font-size: large;
  text-shadow: 2px 1px 2px black;
  text-decoration-line: underline;
  max-width: fit-content;
}

#register-text{
  text-decoration-line: overline;
  color:#020202;
  text-shadow: 3px 1px 2px rgb(255, 151, 5);

}

#register-button{
  background-color: #fd4305;
  color: whitesmoke;
  text-shadow: 2px 1px 2px black;
  text-decoration-line: underline;
  font-size: large;
  max-width: fit-content;
}

#back-to-login{
  background-color: #08b6c9;
  color: whitesmoke;
  text-shadow: 2px 1px 2px black;
  text-decoration-line: underline;
  font-size: large;
  max-width: fit-content;
}

